<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="/taglibs.jsp"%>
<style type="text/css"> 
.msg{float:left; line-height:1.5em; margin:0; display:block;border:1px solid #f66;padding:2px 5px;*padding:2px 5px 1px;}
.msg.rn{background-color:#fff2f2;border-color:#f66;}
</style> 
<s:url value="/images" var="imgPath"/>
<!-- 月历 -->
<script type="text/javascript" charset="UTF-8" src="/js/jquery.alphanumeric.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/jquery.datepick.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/jquery.datepick-zh-CN.js"></script>
<link rel="stylesheet" type="text/css" href="/css/smoothness.datepick.css" />

<script language="javascript">
	$().ready( function() {
		
	});	
	
</script>
<s:actionerror/>
<s:actionmessage/>
<s:fielderror />

<h1>紧急短信检视:</h1>
<p>
<table class="tb-data" width="100%" >
<tr >
<th colspan="4"><b>收件人：</b></th>
</tr>
<c-rt:forEach items="${smsList}" var="sms" varStatus="rows_index"> 
<c-rt:if test="${rows_index.first}">       
<c-rt:set value="${sms}" var="topSms"></c-rt:set>
</c-rt:if>	
<c-rt:if test="${rows_index.count % 4 == 1}">       
<tr class="${rows_index.count % 8 == 1 ? 'bg-yl' : ''}">
</c-rt:if>	
	<td>(${contactMenu.options[sms.destAddress].memo2}) ${contactMenu.options[sms.destAddress].memo1}/${contactMenu.options[sms.destAddress].name}</td>
	
<c-rt:if test="${rows_index.count % 4 == 0}">   
</tr>
</c-rt:if>
</c-rt:forEach>  
<tr >
<th colspan="4"><b>短信内容：</b></th>
</tr>
<tr >
<td colspan="4">
${topSms.content }<br>

<div class="f-link">

	<a href="queryUrgentSms.do" id="saveData">回查询页</a>
</div>
</td>
</tr>
</table>
</p>
<br>

<span id="errMsg" class="msg rn" style="display:none"></span>


